package pl.vanta.mjuzik2.guice.modules;

import java.util.ArrayList;
import java.util.List;

import pl.vanta.mjuzik2.api.AudioFileProcessor;
import pl.vanta.mjuzik2.api.services.ProcessorService;
import pl.vanta.mjuzik2.impl.processors.ProcessorServiceImpl;

import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import com.google.inject.Scopes;

public class ProcessorsModule extends AbstractModule
{
	@Override
	protected void configure()
	{
		bind(ProcessorService.class).to(ProcessorServiceImpl.class).in(Scopes.SINGLETON);
	}

	@Provides
	public List<AudioFileProcessor> getAvailableProcessors()
	{
		List<AudioFileProcessor> processors = new ArrayList<AudioFileProcessor>();

		return processors;
	}
}